﻿@model JuniorProject.Models.Employee.EmployeeJobPostingModel

@{
    ViewBag.Title = "ApproveJobPosting";
}

<h2>
Approve Job Posting - ID#@Model.ID
</h2>
<br />

<fieldset>
    <legend>Edit_JobPostingModel</legend>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.JobTitle)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.JobTitle)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.LocationCity)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LocationCity)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.LocationState)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LocationState)
    </div>

    <div class="display-label">
            @Html.DisplayNameFor(model => model.PostingDate)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PostingDate.Month).
        @Html.DisplayFor(model => model.PostingDate.Day).
        @Html.DisplayFor(model => model.PostingDate.Year)
    </div>

    <br />
    Are you sure you wish to Approve this Job Posting?

    <p>
        @Html.ActionLink("Approve", "ApprovalConfirmed", new { id = Model.ID })
    </p>
</fieldset>

@Html.ActionLink("Back to List", "JobPostings")
<p>
    @Html.Partial("_EmployeeBottomNavBar", ViewData["AccessLevel"])
</p>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
